package com.zito.health.service.impl;

import com.zito.health.common.service.impl.BaseServiceImpl;
import com.zito.health.entity.Menu;
import com.zito.health.mapper.MenuMapper;
import com.zito.health.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description:
 * @author: gxt
 * @time: 2019/11/18 11:10
 */
@Service
public class MenuServiceImpl extends BaseServiceImpl<Menu> implements MenuService {

    @Autowired
    private MenuMapper menuMapper;

    @Override
    public List<Menu> queryRoleMenu(Integer roleId) {
        return menuMapper.queryRoleMenu(roleId);
    }
}
